import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: () => import('../pages/Home'),
      meta: {
        isShowFooter: true
      }
    }, {
      path: '/search',
      name: 'Search',
      component: () => import('../pages/Search'),
      meta: {
        isShowFooter: true
      }
    }, {
      path: '/order',
      name: 'Order',
      component: () => import('../pages/Order'),
      meta: {
        isShowFooter: true
      }
    }, {
      path: '/my',
      name: 'My',
      component: () => import('../pages/My'),
      meta: {
        isShowFooter: true
      }
    }, {
      path: '/login',
      name: 'Login',
      component: () => import('../pages/Login')
    }, {
      path: '/shop',
      name: 'Shop',
      component: () => import('../pages/Shop')
    }
  ]
})
